package com.example.vspm.service;

import com.example.vspm.entity.Person;
import com.example.vspm.entity.Receiver;
import com.example.vspm.entity.Result;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpSession;
import java.util.List;

@Service
public interface PersonService {
    Result login(Person person, HttpSession session);  //登录

    //登录用map验证,正在实验中
    Person logPerson( String personName,  String password);

    void register(Person person);   //注册  暂时没做

    Person selectPerson();

}
